

<%@ page import="com.surelution.projects.crm.NoGasList" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'noGasList.label', default: 'NoGasList')}" />
        <title><g:message code="default.edit.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.edit.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${noGasListInstance}">
            <div class="errors">
                <g:renderErrors bean="${noGasListInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form method="post" >
                <g:hiddenField name="id" value="${noGasListInstance?.id}" />
                <g:hiddenField name="version" value="${noGasListInstance?.version}" />
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stationName"><g:message code="noGasList.stationName.label" default="Station Name" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasListInstance, field: 'stationName', 'errors')}">
                                    <g:textField name="stationName" value="${noGasListInstance?.stationName}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="income"><g:message code="noGasList.income.label" default="Income" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasListInstance, field: 'income', 'errors')}">
                                    <g:textField name="income" value="${noGasListInstance?.income}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="noGasType"><g:message code="noGasList.noGasType.label" default="No Gas Type" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasListInstance, field: 'noGasType', 'errors')}">
                                    <g:textField name="stationName" value="${noGasListInstance?.stationName}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="number"><g:message code="noGasList.number.label" default="Number" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasListInstance, field: 'number', 'errors')}">
                                    <g:textField name="number" value="${noGasListInstance?.number}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="price"><g:message code="noGasList.price.label" default="Price" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasListInstance, field: 'price', 'errors')}">
                                    <g:textField name="price" value="${noGasListInstance?.price}" />
                                </td>
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="price"><g:message code="noGasList.maoLI.label" default="maoLi" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasListInstance, field: 'maoLi', 'errors')}">
                                    <g:textField name="maoLi" value="${noGasListInstance?.maoLi}" />
                                </td>
                            </tr>                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:actionSubmit class="save" action="update" value="${message(code: 'default.button.update.label', default: 'Update')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
